package com.webonn.frame.conf;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by Peng on 2017/9/5.
 */
public class SyncRseConfiguration {
    @JsonProperty
    @NotEmpty
    private String leadsUrl;

    @JsonProperty
    @NotEmpty
    private String depositUrl;

    @JsonProperty
    @NotEmpty
    private String passport = "111111";

    @JsonProperty
    @NotEmpty
    private int sampleMax = 3;

    // 5*60*1000
    @JsonProperty
    @NotEmpty
    private int waitingTime = 300000;

    @JsonProperty
    @NotEmpty
    private String dateFormat = "yyyy-MM-dd HH:mm:ss";

    public String getLeadsUrl() {
        return leadsUrl;
    }

    public void setLeadsUrl(String leadsUrl) {
        this.leadsUrl = leadsUrl;
    }

    public String getDepositUrl() {
        return depositUrl;
    }

    public void setDepositUrl(String depositUrl) {
        this.depositUrl = depositUrl;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public int getSampleMax() {
        return sampleMax;
    }

    public void setSampleMax(int sampleMax) {
        this.sampleMax = sampleMax;
    }

    public int getWaitingTime() {
        return waitingTime;
    }

    public void setWaitingTime(int waitingTime) {
        this.waitingTime = waitingTime;
    }

    public String getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }
}
